package packet1;

public class test2 {
    public static void main(String[] args) {
        String a = "123456 123";
        String[] s1 = a.split(" ");
        System.out.println(Integer.parseInt(s1[0]));
    }

}
